let obj = {

            tmp: 'Yes!',

            testLog: function () {

                console.log(this.tmp);

            }

        };
        let tmpLog = obj.testLog;

        tmpLog();